﻿namespace HRM.CORE.REPORT
{
    using APP.HELPER.Utils.Security;
    using DevExpress.Utils;
    using DevExpress.XtraPrinting;
    using DevExpress.XtraReports.UI;
    using HRM.CORE;
    using System; using Extra.ERP;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Drawing.Printing;

    public class rpt03bTBH : XtraReport
    {
        private BottomMarginBand BottomMargin;
        private HRM_INSURANCE_MODIFY cls;
        private IContainer components;
        private DetailBand Detail;
        private GroupHeaderBand GroupHeader1;
        private Guid m_InsuranceTableListID;
        private int m_Order;
        private ReportFooterBand ReportFooter;
        private ReportHeaderBand ReportHeader;
        private TopMarginBand TopMargin;
        private XRLabel txtAddress;
        private XRLabel txtCompany;
        private XRLabel txtCompanyCode;
        private XRTableCell txtContentChange;
        private XRTableCell txtEmployeeName;
        private XRTableCell txtHealthInsuranceCode;
        private XRTableCell txtNewContent;
        private XRTableCell txtOldContent;
        private XRTableCell txtOrder;
        private XRTableCell txtReason;
        private XRTableCell txtSocialInsuranceCode;
        private XRLabel xrLabel1;
        private XRLabel xrLabel2;
        private XRLabel xrLabel25;
        private XRLabel xrLabel3;
        private XRLabel xrLabel4;
        private XRLabel xrLabel5;
        private XRLabel xrLabel6;
        private XRTable xrTable1;
        private XRTable xrTable2;
        private XRTable xrTable3;
        private XRTableCell xrTableCell10;
        private XRTableCell xrTableCell11;
        private XRTableCell xrTableCell12;
        private XRTableCell xrTableCell13;
        private XRTableCell xrTableCell14;
        private XRTableCell xrTableCell15;
        private XRTableCell xrTableCell16;
        private XRTableCell xrTableCell17;
        private XRTableCell xrTableCell18;
        private XRTableCell xrTableCell19;
        private XRTableCell xrTableCell20;
        private XRTableCell xrTableCell21;
        private XRTableCell xrTableCell22;
        private XRTableCell xrTableCell23;
        private XRTableCell xrTableCell24;
        private XRTableCell xrTableCell25;
        private XRTableCell xrTableCell4;
        private XRTableCell xrTableCell5;
        private XRTableCell xrTableCell50;
        private XRTableCell xrTableCell51;
        private XRTableCell xrTableCell6;
        private XRTableCell xrTableCell7;
        private XRTableCell xrTableCell8;
        private XRTableCell xrTableCell9;
        private XRTableRow xrTableRow1;
        private XRTableRow xrTableRow10;
        private XRTableRow xrTableRow2;
        private XRTableRow xrTableRow3;
        private XRTableRow xrTableRow4;

        public rpt03bTBH()
        {
            this.cls = new HRM_INSURANCE_MODIFY();
            this.m_InsuranceTableListID = Guid.Empty;
            this.m_Order = 0;
            this.components = null;
            this.InitializeComponent();
        }

        public rpt03bTBH(Guid InsuranceTaleListID)
        {
            this.cls = new HRM_INSURANCE_MODIFY();
            this.m_InsuranceTableListID = Guid.Empty;
            this.m_Order = 0;
            this.components = null;
            this.InitializeComponent();
            this.m_InsuranceTableListID = InsuranceTaleListID;
        }

        protected override void Dispose(bool disposing)
        {
            if (disposing && (this.components != null))
            {
                this.components.Dispose();
            }
            base.Dispose(disposing);
        }

        private void InitializeComponent()
        {
            this.Detail = new DetailBand();
            this.xrTable1 = new XRTable();
            this.xrTableRow1 = new XRTableRow();
            this.txtOrder = new XRTableCell();
            this.txtEmployeeName = new XRTableCell();
            this.txtSocialInsuranceCode = new XRTableCell();
            this.txtHealthInsuranceCode = new XRTableCell();
            this.txtContentChange = new XRTableCell();
            this.txtOldContent = new XRTableCell();
            this.txtNewContent = new XRTableCell();
            this.txtReason = new XRTableCell();
            this.TopMargin = new TopMarginBand();
            this.BottomMargin = new BottomMarginBand();
            this.ReportHeader = new ReportHeaderBand();
            this.txtCompanyCode = new XRLabel();
            this.xrLabel2 = new XRLabel();
            this.xrLabel25 = new XRLabel();
            this.xrLabel1 = new XRLabel();
            this.xrLabel4 = new XRLabel();
            this.txtAddress = new XRLabel();
            this.txtCompany = new XRLabel();
            this.ReportFooter = new ReportFooterBand();
            this.xrLabel6 = new XRLabel();
            this.xrLabel5 = new XRLabel();
            this.xrLabel3 = new XRLabel();
            this.xrTable3 = new XRTable();
            this.xrTableRow3 = new XRTableRow();
            this.xrTableCell7 = new XRTableCell();
            this.xrTableCell50 = new XRTableCell();
            this.xrTableCell8 = new XRTableCell();
            this.xrTableCell9 = new XRTableCell();
            this.xrTableRow4 = new XRTableRow();
            this.xrTableCell10 = new XRTableCell();
            this.xrTableCell51 = new XRTableCell();
            this.xrTableCell11 = new XRTableCell();
            this.xrTableCell12 = new XRTableCell();
            this.GroupHeader1 = new GroupHeaderBand();
            this.xrTable2 = new XRTable();
            this.xrTableRow10 = new XRTableRow();
            this.xrTableCell4 = new XRTableCell();
            this.xrTableCell6 = new XRTableCell();
            this.xrTableCell13 = new XRTableCell();
            this.xrTableCell19 = new XRTableCell();
            this.xrTableCell20 = new XRTableCell();
            this.xrTableCell21 = new XRTableCell();
            this.xrTableCell22 = new XRTableCell();
            this.xrTableCell23 = new XRTableCell();
            this.xrTableRow2 = new XRTableRow();
            this.xrTableCell24 = new XRTableCell();
            this.xrTableCell15 = new XRTableCell();
            this.xrTableCell14 = new XRTableCell();
            this.xrTableCell16 = new XRTableCell();
            this.xrTableCell25 = new XRTableCell();
            this.xrTableCell5 = new XRTableCell();
            this.xrTableCell18 = new XRTableCell();
            this.xrTableCell17 = new XRTableCell();
            this.xrTable1.BeginInit();
            this.xrTable3.BeginInit();
            this.xrTable2.BeginInit();
            this.BeginInit();
            this.Detail.Controls.AddRange(new XRControl[] { this.xrTable1 });
            this.Detail.HeightF = 24.37499f;
            this.Detail.Name = "Detail";
            this.Detail.Padding = new PaddingInfo(0, 0, 0, 0, 100f);
            this.Detail.TextAlignment = TextAlignment.TopLeft;
            this.xrTable1.Borders = BorderSide.Bottom | BorderSide.Right | BorderSide.Left;
            this.xrTable1.Font = new Font("Times New Roman", 8.75f);
            this.xrTable1.LocationFloat = new PointFloat(3.178914E-05f, 0f);
            this.xrTable1.Name = "xrTable1";
            this.xrTable1.Rows.AddRange(new XRTableRow[] { this.xrTableRow1 });
            this.xrTable1.SizeF = new SizeF(1085f, 24.37499f);
            this.xrTable1.StylePriority.UseBorders = false;
            this.xrTable1.StylePriority.UseFont = false;
            this.xrTableRow1.Cells.AddRange(new XRTableCell[] { this.txtOrder, this.txtEmployeeName, this.txtSocialInsuranceCode, this.txtHealthInsuranceCode, this.txtContentChange, this.txtOldContent, this.txtNewContent, this.txtReason });
            this.xrTableRow1.Name = "xrTableRow1";
            this.xrTableRow1.Padding = new PaddingInfo(4, 0, 0, 0, 100f);
            this.xrTableRow1.StylePriority.UsePadding = false;
            this.xrTableRow1.StylePriority.UseTextAlignment = false;
            this.xrTableRow1.TextAlignment = TextAlignment.MiddleLeft;
            this.xrTableRow1.Weight = 1.0;
            this.txtOrder.Name = "txtOrder";
            this.txtOrder.Weight = 0.070276561386204722;
            this.txtOrder.BeforePrint += new PrintEventHandler(this.txtOrder_BeforePrint);
            this.txtEmployeeName.Name = "txtEmployeeName";
            this.txtEmployeeName.Text = "[EmployeeName]";
            this.txtEmployeeName.Weight = 0.55472346755069923;
            this.txtSocialInsuranceCode.Name = "txtSocialInsuranceCode";
            this.txtSocialInsuranceCode.Text = "[SocialInsuranceCode]";
            this.txtSocialInsuranceCode.Weight = 0.303571861166822;
            this.txtHealthInsuranceCode.Name = "txtHealthInsuranceCode";
            this.txtHealthInsuranceCode.Text = "[HealthInsuranceCode]";
            this.txtHealthInsuranceCode.Weight = 0.28513757435560838;
            this.txtContentChange.Name = "txtContentChange";
            this.txtContentChange.Text = "[ContentChange]";
            this.txtContentChange.Weight = 0.42453948824577409;
            this.txtOldContent.Name = "txtOldContent";
            this.txtOldContent.Text = "[OldContent]";
            this.txtOldContent.Weight = 0.37557615427475627;
            this.txtNewContent.Name = "txtNewContent";
            this.txtNewContent.Text = "[NewContent]";
            this.txtNewContent.Weight = 0.37096730879724504;
            this.txtReason.Name = "txtReason";
            this.txtReason.Text = "[Reason]";
            this.txtReason.Weight = 0.61520758422289035;
            this.TopMargin.HeightF = 70f;
            this.TopMargin.Name = "TopMargin";
            this.TopMargin.Padding = new PaddingInfo(0, 0, 0, 0, 100f);
            this.TopMargin.TextAlignment = TextAlignment.TopLeft;
            this.BottomMargin.HeightF = 56f;
            this.BottomMargin.Name = "BottomMargin";
            this.BottomMargin.Padding = new PaddingInfo(0, 0, 0, 0, 100f);
            this.BottomMargin.TextAlignment = TextAlignment.TopLeft;
            this.ReportHeader.Controls.AddRange(new XRControl[] { this.txtCompanyCode, this.xrLabel2, this.xrLabel25, this.xrLabel1, this.xrLabel4, this.txtAddress, this.txtCompany });
            this.ReportHeader.HeightF = 129f;
            this.ReportHeader.Name = "ReportHeader";
            this.txtCompanyCode.Font = new Font("Times New Roman", 9.75f, FontStyle.Bold);
            this.txtCompanyCode.LocationFloat = new PointFloat(0f, 6.00001f);
            this.txtCompanyCode.Name = "txtCompanyCode";
            this.txtCompanyCode.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.txtCompanyCode.SizeF = new SizeF(462.1666f, 17.70833f);
            this.txtCompanyCode.StylePriority.UseFont = false;
            this.txtCompanyCode.Text = "M\x00e3 đơn vị:__/__ ____";
            this.xrLabel2.Font = new Font("Times New Roman", 9.75f, FontStyle.Italic);
            this.xrLabel2.LocationFloat = new PointFloat(4.768372E-05f, 99.00001f);
            this.xrLabel2.Name = "xrLabel2";
            this.xrLabel2.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel2.SizeF = new SizeF(1085f, 17.70834f);
            this.xrLabel2.StylePriority.UseFont = false;
            this.xrLabel2.StylePriority.UseTextAlignment = false;
            this.xrLabel2.Text = "(K\x00e8m theo c\x00f4ng văn số ... ... ... ... ng\x00e0y .... th\x00e1ng ... năm ... ...)";
            this.xrLabel2.TextAlignment = TextAlignment.MiddleCenter;
            this.xrLabel25.LocationFloat = new PointFloat(835.5898f, 23.70834f);
            this.xrLabel25.Name = "xrLabel25";
            this.xrLabel25.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel25.SizeF = new SizeF(249.4101f, 40.04165f);
            this.xrLabel25.StylePriority.UseTextAlignment = false;
            this.xrLabel25.Text = "(Ban h\x00e0nh k\x00e8m theo CV số: 1615/BHXH-CSXH ng\x00e0y 02/06/2009 của BHXH VN)";
            this.xrLabel25.TextAlignment = TextAlignment.MiddleCenter;
            this.xrLabel1.Font = new Font("Times New Roman", 9.75f, FontStyle.Bold);
            this.xrLabel1.LocationFloat = new PointFloat(835.5898f, 6.000007f);
            this.xrLabel1.Name = "xrLabel1";
            this.xrLabel1.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel1.SizeF = new SizeF(249.4101f, 17.70833f);
            this.xrLabel1.StylePriority.UseFont = false;
            this.xrLabel1.StylePriority.UseTextAlignment = false;
            this.xrLabel1.Text = "Mẩu số: 03b-TBH";
            this.xrLabel1.TextAlignment = TextAlignment.MiddleCenter;
            this.xrLabel4.Font = new Font("Times New Roman", 16f, FontStyle.Bold);
            this.xrLabel4.LocationFloat = new PointFloat(3.178914E-05f, 68.75f);
            this.xrLabel4.Name = "xrLabel4";
            this.xrLabel4.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel4.SizeF = new SizeF(1085f, 30.25001f);
            this.xrLabel4.StylePriority.UseFont = false;
            this.xrLabel4.StylePriority.UseTextAlignment = false;
            this.xrLabel4.Text = "DANH S\x00c1CH ĐỀ NGHỊ ĐIỀU CHỈNH HỒ SƠ THAM GIA BHXH, BHYT";
            this.xrLabel4.TextAlignment = TextAlignment.MiddleCenter;
            this.txtAddress.LocationFloat = new PointFloat(4.768372E-05f, 43.70837f);
            this.txtAddress.Name = "txtAddress";
            this.txtAddress.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.txtAddress.SizeF = new SizeF(462.1667f, 17.70833f);
            this.txtAddress.Text = "txtAddress";
            this.txtCompany.Font = new Font("Times New Roman", 9.75f, FontStyle.Bold);
            this.txtCompany.LocationFloat = new PointFloat(4.768372E-05f, 24.00001f);
            this.txtCompany.Name = "txtCompany";
            this.txtCompany.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.txtCompany.SizeF = new SizeF(462.1666f, 17.70833f);
            this.txtCompany.StylePriority.UseFont = false;
            this.txtCompany.Text = "txtCompany";
            this.ReportFooter.Controls.AddRange(new XRControl[] { this.xrLabel6, this.xrLabel5, this.xrLabel3, this.xrTable3 });
            this.ReportFooter.HeightF = 216f;
            this.ReportFooter.Name = "ReportFooter";
            this.xrLabel6.LocationFloat = new PointFloat(10.74988f, 68.5f);
            this.xrLabel6.Name = "xrLabel6";
            this.xrLabel6.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel6.SizeF = new SizeF(533.75f, 20f);
            this.xrLabel6.Text = "Thời hạn sử dụng của thẻ BHYT từ ng\x00e0y ___/___/______ đến ng\x00e0y ____/____/______";
            this.xrLabel5.Font = new Font("Times New Roman", 9.75f, FontStyle.Underline | FontStyle.Bold);
            this.xrLabel5.LocationFloat = new PointFloat(0f, 9.999974f);
            this.xrLabel5.Name = "xrLabel5";
            this.xrLabel5.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel5.SizeF = new SizeF(1085f, 17.70833f);
            this.xrLabel5.StylePriority.UseFont = false;
            this.xrLabel5.StylePriority.UseTextAlignment = false;
            this.xrLabel5.Text = "ĐỀ NGHỊ GIA HẠN THẺ BHYT";
            this.xrLabel5.TextAlignment = TextAlignment.MiddleLeft;
            this.xrLabel3.LocationFloat = new PointFloat(10.00001f, 42.91667f);
            this.xrLabel3.Name = "xrLabel3";
            this.xrLabel3.Padding = new PaddingInfo(2, 2, 0, 0, 100f);
            this.xrLabel3.SizeF = new SizeF(533.75f, 20f);
            this.xrLabel3.Text = "- Số thẻ BHYT gia hạn: ............... thẻ; Trong đ\x00f3 ngoại tỉnh: ................ thẻ.";
            this.xrTable3.LocationFloat = new PointFloat(0f, 114.125f);
            this.xrTable3.Name = "xrTable3";
            this.xrTable3.Rows.AddRange(new XRTableRow[] { this.xrTableRow3, this.xrTableRow4 });
            this.xrTable3.SizeF = new SizeF(1085f, 64.87503f);
            this.xrTableRow3.Cells.AddRange(new XRTableCell[] { this.xrTableCell7, this.xrTableCell50, this.xrTableCell8, this.xrTableCell9 });
            this.xrTableRow3.Font = new Font("Times New Roman", 9.75f, FontStyle.Italic);
            this.xrTableRow3.Name = "xrTableRow3";
            this.xrTableRow3.StylePriority.UseFont = false;
            this.xrTableRow3.Weight = 1.0;
            this.xrTableCell7.Font = new Font("Times New Roman", 9.75f, FontStyle.Bold);
            this.xrTableCell7.Name = "xrTableCell7";
            this.xrTableCell7.StylePriority.UseFont = false;
            this.xrTableCell7.StylePriority.UseTextAlignment = false;
            this.xrTableCell7.TextAlignment = TextAlignment.MiddleCenter;
            this.xrTableCell7.Weight = 0.80529935472605718;
            this.xrTableCell50.Font = new Font("Times New Roman", 9.75f, FontStyle.Italic);
            this.xrTableCell50.Name = "xrTableCell50";
            this.xrTableCell50.StylePriority.UseFont = false;
            this.xrTableCell50.StylePriority.UseTextAlignment = false;
            this.xrTableCell50.Text = "Ng\x00e0y......... th\x00e1ng........ năm...............";
            this.xrTableCell50.TextAlignment = TextAlignment.MiddleCenter;
            this.xrTableCell50.Weight = 0.69470064527394282;
            this.xrTableCell8.Name = "xrTableCell8";
            this.xrTableCell8.Weight = 0.67281114098302963;
            this.xrTableCell9.Font = new Font("Times New Roman", 9.75f, FontStyle.Italic);
            this.xrTableCell9.Name = "xrTableCell9";
            this.xrTableCell9.StylePriority.UseFont = false;
            this.xrTableCell9.StylePriority.UseTextAlignment = false;
            this.xrTableCell9.Text = "Ng\x00e0y......... th\x00e1ng........ năm...............";
            this.xrTableCell9.TextAlignment = TextAlignment.MiddleCenter;
            this.xrTableCell9.Weight = 0.82718885901697037;
            this.xrTableRow4.Cells.AddRange(new XRTableCell[] { this.xrTableCell10, this.xrTableCell51, this.xrTableCell11, this.xrTableCell12 });
            this.xrTableRow4.Font = new Font("Times New Roman", 9.75f, FontStyle.Bold);
            this.xrTableRow4.Name = "xrTableRow4";
            this.xrTableRow4.StylePriority.UseFont = false;
            this.xrTableRow4.Weight = 1.0;
            this.xrTableCell10.Font = new Font("Times New Roman", 9.75f, FontStyle.Bold);
            this.xrTableCell10.Name = "xrTableCell10";
            this.xrTableCell10.StylePriority.UseFont = false;
            this.xrTableCell10.StylePriority.UseTextAlignment = false;
            this.xrTableCell10.Text = "C\x00e1n bộ thu";
            this.xrTableCell10.TextAlignment = TextAlignment.TopCenter;
            this.xrTableCell10.Weight = 0.80529935472605718;
            this.xrTableCell51.Name = "xrTableCell51";
            this.xrTableCell51.StylePriority.UseTextAlignment = false;
            this.xrTableCell51.Text = "Phụ tr\x00e1ch thu";
            this.xrTableCell51.TextAlignment = TextAlignment.TopCenter;
            this.xrTableCell51.Weight = 0.69470064527394282;
            this.xrTableCell11.Name = "xrTableCell11";
            this.xrTableCell11.StylePriority.UseTextAlignment = false;
            this.xrTableCell11.Text = "Người lập biểu";
            this.xrTableCell11.TextAlignment = TextAlignment.TopCenter;
            this.xrTableCell11.Weight = 0.67281114098302963;
            this.xrTableCell12.Font = new Font("Times New Roman", 9.75f, FontStyle.Bold);
            this.xrTableCell12.Name = "xrTableCell12";
            this.xrTableCell12.StylePriority.UseFont = false;
            this.xrTableCell12.StylePriority.UseTextAlignment = false;
            this.xrTableCell12.Text = "Người sử dụng lao động";
            this.xrTableCell12.TextAlignment = TextAlignment.TopCenter;
            this.xrTableCell12.Weight = 0.82718885901697037;
            this.GroupHeader1.Controls.AddRange(new XRControl[] { this.xrTable2 });
            this.GroupHeader1.HeightF = 41.66667f;
            this.GroupHeader1.Name = "GroupHeader1";
            this.xrTable2.Borders = BorderSide.All;
            this.xrTable2.Font = new Font("Times New Roman", 8.75f);
            this.xrTable2.LocationFloat = new PointFloat(6.357829E-05f, 0f);
            this.xrTable2.Name = "xrTable2";
            this.xrTable2.Rows.AddRange(new XRTableRow[] { this.xrTableRow10, this.xrTableRow2 });
            this.xrTable2.SizeF = new SizeF(1085f, 41.66667f);
            this.xrTable2.StylePriority.UseBorders = false;
            this.xrTable2.StylePriority.UseFont = false;
            this.xrTableRow10.Cells.AddRange(new XRTableCell[] { this.xrTableCell4, this.xrTableCell6, this.xrTableCell13, this.xrTableCell19, this.xrTableCell20, this.xrTableCell21, this.xrTableCell22, this.xrTableCell23 });
            this.xrTableRow10.Name = "xrTableRow10";
            this.xrTableRow10.StylePriority.UseTextAlignment = false;
            this.xrTableRow10.TextAlignment = TextAlignment.MiddleCenter;
            this.xrTableRow10.Weight = 1.0;
            this.xrTableCell4.Name = "xrTableCell4";
            this.xrTableCell4.Text = "STT";
            this.xrTableCell4.Weight = 0.0702764924139753;
            this.xrTableCell6.Name = "xrTableCell6";
            this.xrTableCell6.Text = "Họ t\x00ean";
            this.xrTableCell6.Weight = 0.55472354977623439;
            this.xrTableCell13.Name = "xrTableCell13";
            this.xrTableCell13.Text = "Số sổ BHXH";
            this.xrTableCell13.Weight = 0.30357185198031844;
            this.xrTableCell19.Name = "xrTableCell19";
            this.xrTableCell19.Text = "Số thẻ KCB";
            this.xrTableCell19.Weight = 0.2851378840743547;
            this.xrTableCell20.Name = "xrTableCell20";
            this.xrTableCell20.Text = "Nội dung thay đổi (điểu chỉnh)";
            this.xrTableCell20.Weight = 0.42453932931967553;
            this.xrTableCell21.Name = "xrTableCell21";
            this.xrTableCell21.Text = "Cũ";
            this.xrTableCell21.Weight = 0.37557606160693197;
            this.xrTableCell22.Name = "xrTableCell22";
            this.xrTableCell22.Text = "Mới";
            this.xrTableCell22.Weight = 0.37096805393888921;
            this.xrTableCell23.Name = "xrTableCell23";
            this.xrTableCell23.Text = "L\x00fd do điều chỉnh";
            this.xrTableCell23.Weight = 0.61520677688962078;
            this.xrTableRow2.Cells.AddRange(new XRTableCell[] { this.xrTableCell24, this.xrTableCell15, this.xrTableCell14, this.xrTableCell16, this.xrTableCell25, this.xrTableCell5, this.xrTableCell18, this.xrTableCell17 });
            this.xrTableRow2.Name = "xrTableRow2";
            this.xrTableRow2.StylePriority.UseTextAlignment = false;
            this.xrTableRow2.TextAlignment = TextAlignment.MiddleCenter;
            this.xrTableRow2.Weight = 1.0;
            this.xrTableCell24.Name = "xrTableCell24";
            this.xrTableCell24.Text = "[1]";
            this.xrTableCell24.Weight = 0.0702764924139753;
            this.xrTableCell15.Name = "xrTableCell15";
            this.xrTableCell15.Text = "[2]";
            this.xrTableCell15.Weight = 0.55472354977623439;
            this.xrTableCell14.Name = "xrTableCell14";
            this.xrTableCell14.Text = "[3]";
            this.xrTableCell14.Weight = 0.30357185198031844;
            this.xrTableCell16.Name = "xrTableCell16";
            this.xrTableCell16.Text = "[4]";
            this.xrTableCell16.Weight = 0.2851378840743547;
            this.xrTableCell25.Name = "xrTableCell25";
            this.xrTableCell25.Text = "[5]";
            this.xrTableCell25.Weight = 0.42453932931967553;
            this.xrTableCell5.Name = "xrTableCell5";
            this.xrTableCell5.Text = "[6]";
            this.xrTableCell5.Weight = 0.3755762303677706;
            this.xrTableCell18.Name = "xrTableCell18";
            this.xrTableCell18.Text = "[7]";
            this.xrTableCell18.Weight = 0.37096788517805057;
            this.xrTableCell17.Name = "xrTableCell17";
            this.xrTableCell17.Text = "[8]";
            this.xrTableCell17.Weight = 0.61520677688962078;
            base.Bands.AddRange(new Band[] { this.Detail, this.TopMargin, this.BottomMargin, this.ReportHeader, this.ReportFooter, this.GroupHeader1 });
            base.Landscape = true;
            base.Margins = new Margins(50, 0x22, 70, 0x38);
            base.PageHeight = 0x33b;
            base.PageWidth = 0x491;
            base.PaperKind = PaperKind.A4;
            base.Version = "9.3";
            this.BeforePrint += new PrintEventHandler(this.rpt03bTBH_BeforePrint);
            this.xrTable1.EndInit();
            this.xrTable3.EndInit();
            this.xrTable2.EndInit();
            this.EndInit();
        }

        private void Load03bTBH(Guid InsuranceTableListID)
        {
            DataSet set = new DataSet();
            DataTable list = new DataTable();
            list = this.cls.GetList(InsuranceTableListID);
            set.Tables.Add(list);
            base.DataSource = set;
            base.DataMember = list.TableName;
            base.DataAdapter = list;
        }

        private void rpt03bTBH_BeforePrint(object sender, PrintEventArgs e)
        {
            ////if (MyInfo.Get(MyEncryption.Encrypt("ERP01", "123654", true)) == "OK")
            {
                this.txtCompanyCode.Text = "M\x00e3 đơn vị: " + "";// MyInfo.CompanyCode;
                this.txtCompany.Text = "T\x00ean đơn vị: " + "";//MyInfo.Company;
                this.txtAddress.Text = "Địa chỉ:" + "";//MyInfo.Address;
            }
            this.Load03bTBH(this.m_InsuranceTableListID);
        }

        private void txtOrder_BeforePrint(object sender, PrintEventArgs e)
        {
            this.m_Order++;
            this.txtOrder.Text = this.m_Order.ToString();
        }
    }
}

